import { http } from '@/utils/request'

/**
 * 登录
 * @param {Object} data  {mobile:'',code:''}
 * @returns
 */
export const loginApi = (data) => http('/authorizations', 'post', data)

// 获取登录用户的个人信息
export const getProfileApi = () => http('/user/profile', 'get')
